/**
 * City Agents is a framework for intelligent mobile agents.
 * Copyright (C) 2011 Deep Blue Team
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package cityagents.core;

import cityagents.core.agents.CarAgent;

/**
 * 
 * @author Deep Blue Team
 */
public class Street implements WorldObject {

	private static final long serialVersionUID = -7588867486479307105L;
	
	private Direction direction;
	private CarAgent agent;
	
	public Street() {
		direction = Direction.NONE;
		agent = null;
	}
	
	/**
	 * @return the direction
	 */
	public Direction getDirection() {
		return direction;
	}
	
	/**
	 * @param direction the direction to set
	 */
	public void setDirection(Direction direction) {
		this.direction = direction;
	}

	/**
	 * @return the agent
	 */
	public CarAgent getAgent()
	{
		return agent;
	}
	
	/**
	 * @param agent the agent to set
	 */
	public void setAgent( CarAgent agent )
	{
		this.agent = agent;
	}
	
}
